<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>ckplayer</title>
		<link type="text/css" rel="stylesheet" href="ckplayer/css/ckplayer.css" />
		<!--
			如果需要使用其它语言，请在此处引入相应的js,比如:<script type="text/javascript" src="ckplayer/language/en.js" charset="UTF-8"></script>
		-->
		<script type="text/javascript" src="ckplayer/js/ckplayer.min.js" charset="UTF-8"></script>
	</head>
	<body>
		
		<div class="video" style="width: 100%; height: 500px;max-width: 800px; float:left; margin-left: 20px;">播放容器</div>
		<div class="video2" style="width: 100%; height: 500px;max-width: 800px; float:left; margin-left: 20px;">播放容器</div>
		
		<script>
			var url = "http://172.17.143.60:11111/1_255___225.1.2.1_6001?progid=1"
			var url2 = "http://172.17.143.60:11112/1_255___239.253.7.225_51097?progid=1"
			
			setTimeout(function() {
				//调用开始
				var videoObject = {
					container: '.video', //视频容器
					plug:'mpegts.js',
					live:true,
					autoplay:true,
					video:url,//视频地址
				};
				var player = new ckplayer(videoObject)//调用播放器并赋值给变量player
			},500)
			
			setTimeout(function() {
				var videoObject2 = {
					container: '.video2', //视频容器
					plug:'mpegts.js',
					live:true,
					autoplay:true,
					video:url2,//视频地址
				};
				var player2 = new ckplayer(videoObject2)//调用播放器并赋值给变量player
			},1000)
			
		</script>
	</body>
</html>
